package exceptions;

public class NoValidInputException extends RuntimeException {
	
	private static final long serialVersionUID = 1L;
	
	String s;
	
	public NoValidInputException(int elementsInLayer, int length) {	
		super("Elements in Layer: " + elementsInLayer + " Size of InputVector: " + length);
		s = "Elements in Layer: " + elementsInLayer + " Size of InputVector: " + length;
	}
	
	@Override
	public void printStackTrace() {
		System.err.println(s);
	}
	
	public String toString(){
		return s;
	}

}
